package cn.hd01.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.hd01.repository.entity.Product;

public interface ProductService extends BaseService<Product, Integer> {
	Page<Product> findAll(Product product, Pageable pageable);
	
	List<Product> findProductList();
	
	int updateProductStatus(Integer id, String status);
	
	int updateProduct(Product product);
	
	List<Product> findParentProductList();
}
